﻿CREATE TABLE [dbo].[Deal] (
    [ID]               BIGINT          IDENTITY (1, 1) NOT NULL,
    [BusinessID]       BIGINT          NOT NULL,
    [CreationDate]     DATETIME        NOT NULL,
    [ExpiryDate]       DATETIME        NOT NULL,
    [Image]            VARBINARY (MAX) NULL,
    [Video]            NVARCHAR (MAX)  NULL,
    [Title]            NVARCHAR (448)  NOT NULL,
    [Description]      NVARCHAR (MAX)  NOT NULL,
	[IsActive]		   BIT			   NULL
);

